<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="base.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=GBK" />
	<title>新建项目</title>
	<link rel="stylesheet" type="text/css" href="${basePath }/style/reset.css" media="all" />
	<link rel="stylesheet" type="text/css" href="${basePath }/style/layout.css" media="all" />
	<link rel="stylesheet" type="text/css" href="${basePath }/style/invalid.css" media="all" />
	<link rel="stylesheet" type="text/css" href="${basePath }/style/style.css" media="all" />
	<script type="text/javascript" src="${basePath }/script/jquery-1.4.3.min.js"></script>
	<script type="text/javascript" src="${basePath }/script/jquery.mousewheel-3.0.4.pack.js"></script>
	<script type="text/javascript" src="${basePath }/script/jquery.tipTip.minified.js"></script>
	<script type="text/javascript">
		$(document).ready(function(){
			$(".tip").tipTip();
			$("#main-nav-a-list").addClass("current");
			$("#main-nav li a.current").parent().find("ul").slideDown("slow"); 
		});
	</script>
	<script type="text/javascript" src="${basePath }/script/simpla.js"></script>
</head>
<body>
	<div id="body-wrapper">
		<!-- sidebar开始 -->
		<%@ include file="left.jsp" %>
		<!-- sidebar结束 -->
		<!-- main-content开始 -->
		<div id="main-content">
			<div class="content-box closed-box">
				<div class="content-box-header">
					<h3><a href="index.jspx">首页</a>&gt <a href="${basePath}/project.jspx?id=${milestone.project.id}">${milestone.project.name}</a>&gt ${milestone.name}</h3>
				</div>
			</div>
			<!-- 里程碑开始 -->
			<div class="content-box">
				<div class="content-box-header">
					<h3>
						<img width="16" height="16" align="absmiddle" src="images/milestone.png" alt="Milestone" />
						里程碑
					</h3>
				</div>
				<div class="content-box-content">
						<div class="issues done png_bg">
							<div>
								<a title="${milestone.name}" href="${basePath}/milestone.jspx?id=${milestone.id}">${milestone.name}</a>
							</div>
						</div>
						<c:forEach items="${milestone.issueses}" var="issues" >
							<div class="issues done png_bg">
								<div>
									<a title="${issues.title}" href="${basePath}/issues.jspx?id=${issues.id}">${issues.title}</a>
									<span>
										<a class="black" href="#">${issues.user.name}</a> 
										创建于 4天前
									</span>
								</div>
							</div>
						</c:forEach>
				
					<div>
						<ul class="actions">
							<li><a id="newm" href="${basePath}/milestone!input.jspx?projectid=${id}" class="btn"><img src="images/add.png" class="tip" title="添加里程碑" align="absmiddle" alt="Add" />添加里程碑</a></li>
						</ul>
					</div>
					<div class="clear"></div>
				</div>
			</div>
			<!-- 里程碑结束 -->
			<%@include file="foot.jsp" %>
		</div>
		<!-- main-content结束 -->
	</div>

</body>
</html>
